package com.example.springstudy.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.springstudy.entity.Job;
import com.example.springstudy.mapper.JobMapper;
import com.example.springstudy.service.JobService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JobServiceImpl extends ServiceImpl<JobMapper, Job> implements JobService {
    @Override
    public List<Job> listAll() {
        return this.list(new LambdaQueryWrapper<Job>().ne(Job::getIsDeleted, 1));
    }


}
